package com.geelaro.register.service.impl;

import java.util.Collection;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.geelaro.register.domain.entity.Department;
import com.geelaro.register.repository.DepartmentRepository;
import com.geelaro.register.service.DepartmentService;

@Service
public class DepartmentServiceImpl implements DepartmentService {

	@Autowired
	private DepartmentRepository departmentRepository;

	@Override
	public Collection<Department> findAll() {
		// TODO Auto-generated method stub
		return departmentRepository.findAll();
	}



}
